package at.fhj.swd.pse.gui.pageobjects;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.How;

/**
 * 
 * User Profile Page
 * 
 * @author Bernadette Pecovnik
 * 
 */
public class UserProfilePage {
	
	@FindBy(how=How.XPATH, xpath ="//a[contains(@id, 'editOwnProfile')]")
    public WebElement editOwnProfileLink;
	
	@FindBy(how=How.XPATH, xpath ="//span[contains(@id, 'showUserProfile:userName')]")
    public WebElement username;
	
	@FindBy(how=How.XPATH, xpath ="//span[contains(@id, 'showUserProfile:firstName')]")
    public WebElement firstname;
	
	@FindBy(how=How.XPATH, xpath ="//span[contains(@id, 'showUserProfile:email')]")
    public WebElement email;

	@FindBy(how=How.XPATH, xpath ="//span[contains(@id, 'showUserProfile:roomNumber')]")
    public WebElement roomNumber;

	@FindBy(how=How.XPATH, xpath ="//button[contains(@id, 'showUserProfile:saveUserButton')]")
    public WebElement saveUserButton;
	
}
